package vtc;

import com.ib.client.*;

public class IBOrderFactory {

    public static Order makeContract(String action, int quantity) 
    {
    	Order order = new Order();
        order.m_action = action;
        order.m_totalQuantity = quantity;
        order.m_orderType = "MKT";
        order.m_whatIf = false;
        return order;
    }
}
